package share

// 角色路由中间表
type RoleRule struct {
	RoleID uint `gorm:"column:role_id;index"`
	Role   Role `gorm:"foreignKey:RoleID;reference:ID;constraint:OnDelete:CASCADE"`
	RuleID uint `gorm:"column:rule_id;index"`
	Rule   Rule `gorm:"foreignKey:RuleID;reference:ID;constraint:OnDelete:CASCADE"`
}
